package com.chaofan.sell.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 订单状态
 *
 * @author: Fairy
 * @date: 2021/9/6
 */
@AllArgsConstructor
@Getter
public enum OrderStatus implements Code<Integer> {
    /**
     * 新订单
     */
    NEW(0, "新订单"),

    /**
     * 已完结
     */
    FINISHED(1, "已完结"),

    /**
     * 已取消
     */
    CANCELLED(2, "已取消");

    /**
     * 订单状态码
     */
    private Integer code;

    /**
     * 订单状态
     */
    private String msg;

    
}
